package com.esms.bean;

import java.util.Date;

/**
 * Notice entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Notice implements java.io.Serializable {

	// Fields

	private Integer id;
	private String type;
	private String name;
	private String description;
	private Date timestamp;

	// Constructors

	/** default constructor */
	public Notice() {
	}

	/** minimal constructor */
	public Notice(String type, Date timestamp) {
		this.type = type;
		this.timestamp = timestamp;
	}

	/** full constructor */
	public Notice(String type, String name, String description, Date timestamp) {
		this.type = type;
		this.name = name;
		this.description = description;
		this.timestamp = timestamp;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getTimestamp() {
		return this.timestamp;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

}